package com.programming.consumption.dao;

import java.util.List;

import com.programming.common.exception.DAOException;
import com.programming.common.page.Page;
import com.programming.consumption.dataobject.UserInfo;
import com.programming.consumption.query.UserInfoQuery;

public interface UserInfoDAO {
	public void save(UserInfo user) throws DAOException;

	public void delete(Long id) throws DAOException;

	public void update(UserInfo user) throws DAOException;

	public List<UserInfo> queryList(UserInfoQuery query) throws DAOException;

	public Page queryPage(UserInfoQuery query) throws DAOException;
	
	public UserInfo getById(Long id)throws DAOException;
}
